define([], function() {
  var config = {
    paths: {
      "react": "/assets/lib/react/react-with-addons.min",
      "react-dom": "/assets/lib/react/react-dom.min",
      "react-redux": 'https://cdn.bootcdn.net/ajax/libs/react-redux/5.1.2/react-redux.min',
    }
  }
  require.config(config)

  function main() {
    //有bridge方法可以修改默认的模块路径
    require(['v/react/jsx/js/bridge'], function(bridge) {
      bridge()
    })
  }

  return main;
})
